<template>
  <div class="shop_B">
    <van-dropdown-menu>
  <van-dropdown-item v-model="value1" :options="option1" />
  <van-dropdown-item v-model="value2" :options="option2" />
   <van-dropdown-item v-model="value3" :options="option3" />
</van-dropdown-menu>
<ShopList/>
  </div>
</template>
<script>
import Vue from 'vue';
import ShopList from '../components/compoents_B/ShopList_B'
import { DropdownMenu, DropdownItem } from 'vant';

Vue.use(DropdownMenu);
Vue.use(DropdownItem);
export default {
   components: {

    ShopList
  },
  data() {
    return {

      value1: 0,
      value2: 'a',
      value3:'A',
      option1: [
        { text: this.$route.params.id, value: 0 },
        { text: '新款商品', value: 1 },
        { text: '活动商品', value: 2 },
      ],
      option2: [
        { text: '默认排序', value: 'a' },
        { text: '好评排序', value: 'b' },
        { text: '销量排序', value: 'c' },
      ],
        option3: [
        { text: '默认排序', value: 'A' },
        { text: '好评排序', value: 'B' },
        { text: '销量排序', value: 'C' },
      ],
    };
  },
}
</script>
<style lang="less">

</style>